package com.blackline.UI.ALERTS;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
/**
 * @author XBO
 * @version Jan, 2013
 * <p>This page is after clicking the ALERTS > Alert Schedule from Navigation Menu.
 * Please refer to UI.AlertSchedule.png in doc-files.
 */
public class AlertSchedule {
	
	/**
	 * Batch Name search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_filterRow_tbFilter1_BatchName")
	public WebElement Batch_Name_textField;
	
	
	/**
	 * Type search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_filterRow_tbFilter1_ScheduleType")
	public WebElement Type_textField;
	
	
	/**
	 * Frequency search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_filterRow_tbFilter1_FrequencyName")
	public WebElement Frequency_textField;
	
	
	/**
	 * Value search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_filterRow_tbFilter1_FrequencyValue")
	public WebElement Value_textField;
	
	
	/**
	 * Start Date search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_filterRow_tbFilter1_FrequencyReferenceDate")
	public WebElement Start_Date_textField;
	
	
	/**
	 * 	Last Run search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_filterRow_tbFilter1_LastPostDate")
	public WebElement Last_Run_textField;
	
	
	/**
	 * Active search text field
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_filterRow_tbFilter1_Active")
	public WebElement Active_textField;
	
	
	/**
	 * Apply link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_lbApplyFilters")
	public WebElement Apply_link;
	
	
	/**
	 * Clear link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_hlClearFilters")
	public WebElement Clear_link;
	
	
	/**
	 * Advanced link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_hlToggleFilters")
	public WebElement Advanced_link;

	/**
	 * Basic link
	 */
	@FindBy(id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_hlToggleFilters")
	public WebElement Basic_link;
	
	/**
	 * The Edit icon (the "pencil" icon) of the searched result (suppose only have one result).
	 */
	@FindBy (id = "ctl00_ctl00_contentBody_cphMain_ScheduleGrid_gvMain_ctl02_ctl00")
	public WebElement Edit_iconOfSearchedResult;
	
}
